<?php
return array(
	'searchColumns' => array(
		'worker_name',
	),
	'dataColumns' => array(
		'id', 'worker_name',
//		array(
//			'name' => 'worker.worker_name',
//			'visible' => Yii::app()->adminUser->role == AdminUser::ROLE_OPERATOR,
//		),
//		array(
//			'name' => 'status',
//			'value' => '$data->stateHandle->lookup()'
//		),
		array(
			'header' => '操作',
			'class' => 'ButtonColumn',
			'template' => '{update} {delete}'
//			'stateHandles' => array(
//				'stateHandle',
//			),
		),
	),
	'_import' => array(
		array('*', 'actions.admin//*'),
	),
);
?>